Skip to content

feat(QuantumMechanics): the Pöschl-Teller potential is reflectionless - #1830

Open
kubanemil wants to merge 15 commits into
leanprover-community:masterfrom
kubanemil:poschl-teller-reflectionless
Open

kubanemil wants to merge 15 commits into
leanprover-community:masterfrom
kubanemil:poschl-teller-reflectionless

Conversation

@kubanemil

@kubanemil kubanemil commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Closes the TODO "Prove that the Pöschl-Teller potential is reflectionless."

For every wavenumber k, the scattering wave ψₖ(x) = Pₖ(tanh (κ x)) e^{i k x}, with Pₖ from #1829, tends to Pₖ(±1) e^{i k x} as x → ±∞. Both values are non-zero, so no reflected wave e^{-i k x} appears.

ψₖ is not normalizable, so, as with momentumState, the scattering state is the bra ⟨ψₖ| on Schwartz space. scatteringState_comp_hamiltonianCLM proves ⟨ψₖ| H = E ⟨ψₖ| with the existing hamiltonianCLM, by integrating by parts twice (integral_mul_momentumCLM) and then using the polynomial identity from #1829.

The result is stated through a new SpaceDQuantumSystem.IsReflectionless for 1d systems, which PoschlTeller.isReflectionless proves. The small general lemmas in ForMathlib/HasTemperateGrowth.lean are what the integration by parts needs.

isReflectionless depends only on propext, Classical.choice and Quot.sound.

…scatteringPoly for Pöschl-Teller

Adds the polynomial operators acting on p in p(tanh (κ x)) e^{i k x}, the
intertwining relation reducedHamiltonian_raise, the scattering polynomials
scatteringPoly with reducedHamiltonian_scatteringPoly, and their values
scatteringPoly_eval_one / scatteringPoly_eval_neg_one (nonzero).
…flectionless

Adds schrodingerOperator, polyWave with its derivatives and asymptotics,
scatteringState with schrodingerOperator_scatteringState and its limits at ±∞,
and theorem reflectionless. Removes the completed TODO from Basic.lean.
@github-actions

Copy link
Copy Markdown
Contributor

Thank you for this pull-request (PR). If this is your first PR, welcome to the community!

Below is what will happen next. Please read carefully if you are not familiar with the process. You may open other PRs while this one is being reviewed, and can stack PRs on top of each other, so don't let these steps slow you down.

  1. Some automated checks will be run on your PR. You can see the results of these checks at the buttom of your PR page. If any of these checks fail, you will need to fix the issues before your PR can be merged. You can learn more about these here, including how to run them locally, which is sometimes quicker than relying on the GitHub Actions. If you have never had a PR merged before, you may have to wait for a reviewer to manually start these checks (this is for security).

  2. A reviewer will look at your PR and may ask you to make changes. This may happen a couple of days after you submit your PR, so you may need to be patient. But it should not be longer than that - if it is please bring it to the attention of the community on the Zulip. The level of review will depend on where your PR is submitted. If it is submitted to ./Physlib or ./QuantumInfo, the review will be more thorough than if it is submitted to ./PhyslibAlpha. You can find out more about what the review process is looking for in our review guidelines. If a reviewer adds an awaiting-author label to your PR, address the review comments, then please remove that label by adding a comment with -awaiting-author. This helps us keep track of reviews.

  3. The reviewer will either approve your PR, or request more changes (in which case we return to step 2). Once your PR is approved, it will be merged by a maintainer, this should happen shortly after approval, though you may get more comments at this stage.

Tip: The easiest way to get have a fast review is to submit a PR that is small and self-contained, and has clear documentation explaining why things are the way they are in your chages.

If you have any problems or questions, please reach out to the community on the Zulip.

@kubanemil
kubanemil force-pushed the poschl-teller-reflectionless branch 2 times, most recently from 4a7e78b to 7c8a19a Compare October 17, 2026 09:05
@kubanemil
kubanemil marked this pull request as ready for review October 18, 2026 01:51
@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Thank you for this pull-request (PR). If this is your first PR, welcome to the community!

While you wait for a review, note that you can review PRs too; reviewing is not restricted to maintainers. Our review guidelines explain what to look for.

Over time, contributions such as reviews, maintenance and documentation are recorded on contributions.physlib.io.

Three main points:

  • Comment -awaiting-author on its own line to remove that label from your PR.
  • Comment blocked-by-PR or -blocked-by-PR on its own line to add or remove that label, respectively.
  • The first review might take several days to arrive. If in doubt message on the Zulip.

For the author: Please read

Below is what will happen next. Please read carefully if you are not familiar with the process. You may open other PRs while this one is being reviewed, and can stack PRs on top of each other, so don't let these steps slow you down.

  1. Some automated checks will be run on your PR. You can see the results of these checks at the buttom of your PR page. If any of these checks fail, you will need to fix the issues before your PR can be merged. You can learn more about these here, including how to run them locally, which is sometimes quicker than relying on the GitHub Actions. If you have never had a PR merged before, you may have to wait for a reviewer to manually start these checks (this is for security).

  2. A reviewer will look at your PR and may ask you to make changes. This may happen a couple of days after you submit your PR, so you may need to be patient. But it should not be longer than that - if it is please bring it to the attention of the community on the Zulip. The level of review will depend on where your PR is submitted. If it is submitted to ./Physlib or ./QuantumInfo, the review will be more thorough than if it is submitted to ./PhyslibAlpha. You can find out more about what the review process is looking for in our review guidelines. If a reviewer adds an awaiting-author label to your PR, address the review comments, then please remove that label by adding a comment with -awaiting-author. This helps us keep track of reviews.

  3. The reviewer will either approve your PR, or request more changes (in which case we return to step 2). Once your PR is approved, it will be merged by a maintainer, this should happen shortly after approval, though you may get more comments at this stage.

Tip: The easiest way to get a fast review is to submit a PR that is small and self-contained, and has clear documentation explaining why things are the way they are in your changes.

If you have any problems or questions, please reach out to the community on the Zulip.

For reviewers: Summary of your PR

Found differences:
@@ Physlib.Mathematics.ForMathlib.HasTemperateGrowth @@
! module modified Physlib.Mathematics.ForMathlib.HasTemperateGrowth (+32 -1)
  namespaces Function.HasTemperateGrowth
+ added lemma fderiv
+ added lemma integrable_mul_schwartzMap
+ added lemma polynomial_eval
@@ Physlib.QuantumMechanics.HilbertSpaces.SpaceD.MomentumStates @@
! module modified Physlib.QuantumMechanics.HilbertSpaces.SpaceD.MomentumStates (+16 -0)
  namespaces QuantumMechanics, QuantumMechanics.SpaceDHilbertSpace
+ added lemma momentumState_oneEquiv_symm_apply
@@ Physlib.QuantumMechanics.Operators.Momentum @@
! module modified Physlib.QuantumMechanics.Operators.Momentum (+34 -0)
  namespaces QuantumMechanics
+ added lemma integral_mul_momentumCLM
@@ Physlib.QuantumMechanics.PoschlTeller.Basic @@
! module modified Physlib.QuantumMechanics.PoschlTeller.Basic (+0 -2)
  namespaces QuantumMechanics, QuantumMechanics.PoschlTeller
@@ Physlib.QuantumMechanics.PoschlTeller.Scattering @@
! module modified Physlib.QuantumMechanics.PoschlTeller.Scattering (+352 -39)
  namespaces QuantumMechanics, QuantumMechanics.PoschlTeller
+ added def scatteringState
+ added def waveOfPoly
+ added lemma conj_waveOfPoly_hasTemperateGrowth
+ added lemma deriv_conj_waveOfPoly
+ added lemma exists_norm_waveOfPoly_le
+ added lemma hasDerivAt_waveOfPoly
+ added lemma integral_conj_waveOfPoly_mul_translateSchwartz
+ added lemma integral_conj_waveOfPoly_polyScattering_mul_hamiltonianCLM
+ added lemma isReflectionless
+ added lemma scatteringState_apply
+ added lemma scatteringState_comp_hamiltonianCLM
+ added lemma tendsto_exp_mul_integral_conj_waveOfPoly_mul_translateSchwartz
+ added lemma tendsto_exp_mul_scatteringState_translateSchwartz_atBot
+ added lemma tendsto_exp_mul_scatteringState_translateSchwartz_atTop
+ added lemma tendsto_waveOfPoly_mul_exp_atBot
+ added lemma tendsto_waveOfPoly_mul_exp_atTop
+ added lemma waveOfPoly_C_mul
+ added lemma waveOfPoly_hasTemperateGrowth
+ added lemma waveOfPoly_mul_exp
+ added lemma waveOfPoly_polyReducedHamiltonian
! moved def polyScattering within module
@@ Physlib.QuantumMechanics.SpaceDQuantumSystem @@
! module modified Physlib.QuantumMechanics.SpaceDQuantumSystem (+26 -1)
  namespaces QuantumMechanics, QuantumMechanics.SpaceDQuantumSystem
+ added def IsReflectionless
@@ Physlib.SpaceAndTime.Space.Translations @@
! module modified Physlib.SpaceAndTime.Space.Translations (+9 -0)
  namespaces Space
+ added lemma translateSchwartz_single_apply
35 differences

The declarations are found by reading the diff as text, without regard for namespaces, so a declaration whose keyword and name are on different lines is missed, and two declarations of the same name in different namespaces are listed as one. A change to a proof, or to the body of a definition, does not appear. See scripts/alpha/github/pr_summary.lean.

Summary of commit faa7db1, remade whenever a commit is pushed.


/-- The Schrödinger operator of the Pöschl-Teller system acting on functions `ℝ → ℂ`,
`ψ ↦ -ℏ² / (2 m) ψ'' + V ψ`. -/
def schrodingerOperator (ψ : ℝ → ℂ) : ℝ → ℂ := fun x =>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs to be an operator in the precise sense of an operator on a HilbertSpace space. It is worth looking at how the Quantum Harmonic oscillator file handles this

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The catch is that the scattering states aren’t in the Hilbert space. |ψₖ(x)| tends to |Pₖ(±1)| ≠ 0 as x → ±∞, so ψₖ isn’t square-integrable and can’t be in the domain of hamiltonianOperator.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One way to still use the existing Hamiltonian is to treat ψₖ as a tempered distribution (via distOfFunction) and state Hψₖ = Eψₖ in the distributional sense, with hamiltonianCLM acting on Schwartz functions. Would that work for you, or did you have something else in mind?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you ask this on the Physlib channel of the Lean Zulip. Someone there might have suggestions. I think the distribution approach is the one to go down

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kubanemil I think if you look at how momentumState is defined in Physlib this should give you an idea of how to do this!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the pointer, done like momentumState - the scattering state is now the bra <ψₖ|, and scatteringState_comp_hamiltonianCLM proves <ψₖ| H = E <ψₖ| with hamiltonianCLM.

tends to the plane wave `T e^{i k x}` as `x → ∞` and to `T' e^{i k x}` as `x → -∞`, with
`T, T' ≠ 0`. For `k ≠ 0` this is a wave which passes through the well with no reflected wave
`e^{-i k x}`. -/
theorem reflectionless (k : ℝ) :

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would not make this a theorem. I think we might have a general proposition for reflectionless which it would be worth using

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn’t find a general one in Physlib. Should I add an IsReflectionless predicate for 1d systems (e.g. on SpaceDQuantumSystem with d = 1) and prove this as a lemma about it?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I missed this. I think it is best to not in that case.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

made it a lemma proving a new SpaceDQuantumSystem.IsReflectionless for 1d systems. What do you think?

@jstoobysmith jstoobysmith added the awaiting-author A reviewer has asked the author a question or requested changes label Oct 19, 2026
@jstoobysmith

Copy link
Copy Markdown
Member

@kubanemil See this PR, Physlib#1902

…ctionless

# Conflicts:
#	Physlib/QuantumMechanics/PoschlTeller/Scattering.lean
… prove isReflectionless

Replaces schrodingerOperator on functions ℝ → ℂ by the Hamiltonian on Schwartz maps:
scatteringState_comp_hamiltonianCLM shows ⟨ψₖ| H = E ⟨ψₖ|. The theorem reflectionless becomes
the lemma isReflectionless : Q.toSpaceDQuantumSystem.IsReflectionless.
@kubanemil

Copy link
Copy Markdown
Contributor Author

-awaiting-author

@github-actions github-actions Bot removed the awaiting-author A reviewer has asked the author a question or requested changes label Nov 1, 2026

/-- The scattering wave of the Pöschl-Teller system with wavenumber `k`,
`ψₖ(x) = Pₖ(tanh (κ x)) e^{i k x}`. -/
def scatteringWave (k : ℝ) : ℝ → ℂ := Q.waveOfPoly k (Q.polyScattering k Q.N)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed now?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope, removed it


This is the bra `⟨ψₖ|` of the non-normalizable scattering wave `ψₖ`, that is
`φ ↦ ⟨ψₖ, φ⟩ = ∫ ψ̄ₖ φ`. -/
def scatteringState (k : ℝ) : StrongDual ℂ 𝓢(Space 1, ℂ) :=

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally, this would be the center definition of this file, made first. I understand it might not be possible here, but it would make the API a lot easier to follow, I think.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved it higher, though can't place it higher than its dependecies, does this work?

`ℏ² k² / (2 m)` against all Schwartz maps, `∫ ψ̄ (H φ) = E ∫ ψ̄ φ`, and which tends to non-zero
multiples of the plane wave `e^{i k x}` both as `x → ∞` and as `x → -∞`. No reflected wave
`e^{-i k x}` appears. -/
def IsReflectionless (Q : SpaceDQuantumSystem 1) : Prop :=

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be better to define this in terms of the dual of the Schwartz space instead of continuous maps?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree, that makes more sense, updated

@jstoobysmith jstoobysmith added the awaiting-author A reviewer has asked the author a question or requested changes label Nov 2, 2026
IsReflectionless now asks for a bra Ψ with Ψ ∘L H = E • Ψ whose translates approach a non-zero
multiple of momentumState at ±∞. Removes PoschlTeller.scatteringWave, moves scatteringState to
the top of the file, and adds tendsto_exp_mul_scatteringState_translateSchwartz_atTop/atBot.
@github-actions github-actions Bot added large and removed medium labels Nov 8, 2026
@kubanemil

Copy link
Copy Markdown
Contributor Author

-awaiting-author

@github-actions github-actions Bot removed the awaiting-author A reviewer has asked the author a question or requested changes label Nov 8, 2026

@jstoobysmith jstoobysmith left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved - will merge now.

@jstoobysmith jstoobysmith added the ready-to-merge This PR is approved and will be merged shortly label Nov 9, 2026
@jstoobysmith
jstoobysmith added this pull request to the merge queue Nov 9, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 9, 2026
@jstoobysmith

Copy link
Copy Markdown
Member

@kubanemil This is failing the linters.

Please could you merge with master and fix any changes.

@jstoobysmith jstoobysmith added awaiting-author A reviewer has asked the author a question or requested changes and removed ready-to-merge This PR is approved and will be merged shortly labels Nov 11, 2026
@kubanemil

Copy link
Copy Markdown
Contributor Author

@jstoobysmith updated PR

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-author A reviewer has asked the author a question or requested changes large

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants